package cn.tedu.ymg.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Accessors(chain = true)
@Data
@TableName("ymg_message")
public class Message implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private LocalDateTime creationTime;
    private String username;
    private String content;


}
